<div class="container main">
	<div class="row media">
		<!-- left menu -->
		<div class="col-md-2">
			<div class="thumbnail">
				<img ng-src="{{toUrl('root/asset/images/touxiang.png')}}" alt="...">
				<div class="caption carousel-inner">
					<h3>
						{{$user.name}}
						<small>{{$user.uid}}</small>
					</h3>
					<p ng-switch="$user.type">
						<span ng-switch-when="4">支部管理员</span>
						<span ng-switch-when="1">院系管理员</span>
						<span ng-switch-when="2">学校管理员</span>
						<span ng-switch-default>系统管理员</span>
					</p>
				</div>
			</div>
			<div class="row">
				<div class="col-xs-12 btn-group-vertical" role="group" aria-label="...">

					<a ng-show="$user.type == 1" ng-class="{true:'btn-cys',false:'btn-default'}[$state.current.name=='manager.tzzgl']" type="button" ui-sref="manager.tzzgl"
					   class="btn btn-default btn-lg btn-block">
						<span class="glyphicon glyphicon-briefcase"></span>
						团组织管理
					</a>

					<a ng-show="$user.type == 1" ng-class="{true:'btn-cys',false:'btn-default'}[$state.current.name=='manager.tgbgl']" type="button" ui-sref="manager.tgbgl"
					   class="btn btn-default btn-lg btn-block">
						<span class="glyphicon glyphicon-briefcase"></span>
						团干部管理
					</a>
					<a ng-show="$user.type == 4" ng-class="{true:'btn-cys',false:'btn-default'}[$state.current.name=='manager.tyxxcj']" type="button" ui-sref="manager.tyxxcj"
					   class="btn btn-default btn-lg btn-block">
						<span class="glyphicon glyphicon-briefcase"></span>
						团员信息采集
					</a>
					<a ng-show="$user.type == 1 || $user.type == 2" ng-class="{true:'btn-cys',false:'btn-default'}[$state.current.name=='manager.tyxxcjAudit']" type="button" ui-sref="manager.tyxxcjAudit"
					   class="btn btn-default btn-lg btn-block">
						<span class="glyphicon glyphicon-briefcase"></span>
						团员信息审核
					</a>
					<a ng-show="$user.type == 2" ng-class="{true:'btn-cys',false:'btn-default'}[$state.current.name=='manager.tyxxcjsz']" type="button" ui-sref="manager.tyxxcjsz"
					   class="btn btn-default btn-lg btn-block">
						<span class="glyphicon glyphicon-briefcase"></span>
						信息采集设置
					</a>
					<a ng-show="$user.type == 2" ng-class="{true:'btn-cys',false:'btn-default'}[$state.current.name=='manager.tqtjsz']" type="button" ui-sref="manager.tqtjsz"
					   class="btn btn-default btn-lg btn-block">
						<span class="glyphicon glyphicon-briefcase"></span>
						团情统计设置
					</a>
					<a ng-show="$user.type == 2" ng-class="{true:'btn-cys',false:'btn-default'}[$state.current.name=='manager.tqtjgl']" type="button" ui-sref="manager.tqtjgl"
					   class="btn btn-default btn-lg btn-block">
						<span class="glyphicon glyphicon-briefcase"></span>
						团情统计管理
					</a>
					<!--<a ng-show="$user.type>0" ng-class="{true:'btn-cys',false:'btn-default'}[$state.current.name=='manager.admin']" type="button" ui-sref="manager.admin"-->
					   <!--class="btn btn-default btn-lg btn-block">-->
						<!--<span class="glyphicon glyphicon-briefcase"></span>-->
						<!--团员信息管理-->
					<!--</a>-->
					<!--<a ng-show="$user.type>0" ng-class="{true:'btn-cys',false:'btn-default'}[$state.current.name=='manager.admin']" type="button" ui-sref="manager.admin"-->
					   <!--class="btn btn-default btn-lg btn-block">-->
						<!--<span class="glyphicon glyphicon-briefcase"></span>-->
						<!--团情统计快照-->
					<!--</a>-->
					<a ng-show="$user.type == 2" ng-class="{true:'btn-cys',false:'btn-default'}[$state.current.name=='manager.admin']" type="button" ui-sref="manager.admin"
					   class="btn btn-default btn-lg btn-block">
						<span class="glyphicon glyphicon-briefcase"></span>
						用户管理
					</a>
				</div>
			</div>
		</div>
		<!-- left menu END -->

		<!-- main area -->
		<div class="col-md-10" ui-view></div>
		<!-- main area END-->
	</div>
</div>